<template>
	<div class="firm-info">
		<div class="firm-model"></div>
		<div class="font-top">
			<div class="firm-name">
        <span>{{$t("companyModel.name")}}</span>
			</div>
			<div class="slogan">
				{{$t("companyModel.slogan")}}
			</div>
			<div class="advertisement">
				{{$t("companyModel.advertisement")}}
			</div>
		</div>
	</div>
</template>


<script>
	export default {
		name: "firm",
		data() {
			return {
        i:0
			}
		},
		mounted() {
			window.addEventListener("scroll", this.scrolling);
		},
		methods: {
      scrolling: function () {

       }

    },
	}
</script>


<style scoped>
	/* 公司简介 */
	.firm-info {
		width: 100%;
		height: calc(100vh - 50px);
		display: flex;
		justify-content: center;
		align-items: center;
		background-image: url('../../../assets/images/firm-info.jpg');
		background-size: cover;
		background-repeat: no-repeat;
		background-position: center;
		overflow: hidden;
		position: relative;
		user-select: none;
		text-align: center;
		font-family: "Fy";
	}

	.firm-model {
		width: 100%;
		height: 100%;
		position: absolute;
		left: 0;
		top: 0;
		background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 1));
		z-index: 1;
	}

	.font-top {
		z-index: 2;
	}

	.firm-name {
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 5px;
		font-weight: 600;
		font-size: 50px;
    display: flex;
	}
  .title{
    transform: skew(-10deg);
    display: block;
    opacity: 0;
    text-shadow: 1px 1px #533d4a,2px 2px #533d4a, 3px 3px #533d4a,4px 4px #533d4a,6px 6px #533d4a;
  }

  .slogan {
		color: #fff;
		font-size: 35px;
		margin: 20px 0;
	}

	.advertisement {
		color: rgba(255, 255, 255, 0.7);
		font-size: 20px;
	}
</style>
